﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JmShared
{
    /// <summary>
    ///Class used to hold info for a clients afk, busy and active status.
    /// </summary>
    
    public class DeviceStatus
    {
        
        public string UserID { get; set; }

        
        public bool? IsActive { get; set; }

        
        public ClientStatus? ClientStatus { get; set; }

        
        public DateTimeOffset? TimeStampAfk { get; set; }

        public DeviceStatus(string userID)
        {
            this.UserID = userID;
        }
        public DeviceStatus(string userID,bool isActive)
        {
            this.UserID = userID;
            this.IsActive = isActive;
        }
        public DeviceStatus(string userID, ClientStatus? clientStatus)
        {
            this.UserID = userID;
            this.ClientStatus = clientStatus;
        }
        public DeviceStatus(string userID,bool isActive, ClientStatus? clientStatus)
        {
            this.UserID = userID;
            this.IsActive = isActive;
            this.ClientStatus = clientStatus;
        }
        private DeviceStatus() { }
    }
}
